package com.gurumades.triggers.client;

import com.gurumades.triggers.client.Trigerable;

public class MockTriggerable implements Trigerable {

	

	private boolean visible = false;
	private String name;
	
	public MockTriggerable(String name2) {
		name = name2;
	}

	@Override
	public void trigger(Boolean boolean1) {
		this.visible = boolean1;
	}
	
	public boolean isVisible() {
		return visible;
	}
	
	public void setVisible(boolean visible) {
		this.visible = visible;
	}
	
	public static MockTriggerable make(String name) {
		return new MockTriggerable(name);
	}
	
	@Override
	public String toString() {
		return name;
	}
	
}
